package com.tuju.currency.view.home

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.tuju.currency.R

class MeFragment : Fragment() {
    lateinit var contentView: View

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        contentView = inflater.inflate(R.layout.fragment_me, container, false)
        return contentView
    }

    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)
        initView()
        initRxBus()
    }

    private fun initView() {
    }

    fun initRxBus() {
    }

    companion object {
        fun newInstance(url: String): MeFragment {
            val bundle = Bundle()
            bundle.putString("url", url)
            val fragment = MeFragment()
            fragment.arguments = bundle
            return fragment
        }
    }
}